﻿<!--#include file="inc/common.asp"-->


<%
  if (request("login") = "登录") then
  	call closeDB()
  	transfer "index.asp"
   ' Response.Redirect "index.asp?blog_id=" & blogObj.blogId & "&cat_id=" & blogCatObj.catId
  '  dim user_name, password
  '  user_name = filterHTML(request("username"))
  '  
  '  if isEmpty(user_name) or user_name="" then
  '      message("<li>用户名不能为空</li>")
  '  end if
  '  
  '
  '  call login(user_name, request("password")) 
  '  
  '
  end if
%>
<html>
<head>
<title>.:::..用户登录..::....::::</title>
<META http-equiv=Content-Type content="text/html; charset=<%=DEFAULT_CHARSET%>">
<style  type="text/css">
BODY {scrollbar-track-color:#ffffff; SCROLLBAR-FACE-COLOR: #ffffff; FONT-SIZE: x-small; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #ffffff;  SCROLLBAR-3DLIGHT-COLOR: #ffffff; SCROLLBAR-ARROW-COLOR: #A0D440; FONT-FAMILY: "Verdana"; SCROLLBAR-DARKSHADOW-COLOR: #ffffff; background-color: #FFFFFF}
A {COLOR: #333333; TEXT-DECORATION: none}
A:visited {COLOR: #333333; TEXT-DECORATION: none}
A:active {COLOR: #ffffff; TEXT-DECORATION: none}
A:hover {COLOR: #333333; background-color:#A0D440;border-bottom:1px dotted}
td {FONT-SIZE: x-small;  FONT-FAMILY: "Verdana"; color:#333333;letter-spacing : 1pt ;line-height :14pt}
input{border:1px dotted #98ccd0;background-color:#ffffff;font-family:verdana;font-size:x-small}
</style>
</head>
<body bgColor=ffffff leftMargin=0 topMargin=0>
<br>
<br><br>
<form method="post" action="login.asp?blog_id=<%=blogObj.blogId%>&cat_id=<%=blogCatObj.catId%>&pageno=<%=request("pageno")%>">
<input type="hidden" name="blog_id" value="<%=blogObj.blogId%>">
<input type="hidden" name="POST" value="True">
  <table width="45%" border="1" cellspacing="1" cellpadding="5" bordercolordark="#FFFFFF" bordercolorlight="#98ccd0"  bordercolor="#98ccd0" align="center" height="200">
    <tr> 
      <td align="center" nowrap>-->> .::.::: <b>用户登录</b>  :::.::. <<-- </td>
   </tr>
   <tr>
     <td align="center">用户名：
        <input type="text" name="username" value="<%=userObj.userName%>" size="15" maxlength="10">
        <br><br><br><br>
        密&nbsp;&nbsp;码：
        <input type="password" name="password" size="15" >
        <br><br><br>
        <input type="checkbox" name="autoLogin" value="true">&nbsp;以后自动登录
      </td>
   </tr>
   <tr>
     <td align="center"> <input style="height:18px;width:60px" type="submit" name="login" value="登录">&nbsp;&nbsp;&nbsp;&nbsp;<input style="height:18px;width:60px" type="button" onclick="document.location='register.asp'" value="注册">&nbsp;&nbsp;&nbsp;&nbsp;<input style="height:18px;width:60px" type="button" onclick="history.back()" value="取消"></td>
   </tr>
</table>
</form>
</body>
</html>


<!--#include file="inc/end.asp" -->